$Server = $env:computername
$cpu = gwmi -computername $Server win32_Processor
#$Havecpu = "{0:0.0} %" -f $cpu.LoadPercentage 
$Havecpu = "{0:0.0}" -f $cpu.LoadPercentage
Write-Host "$Havecpu"
